package com.navercorp.pinpoint.web.dao.es.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

//代理信息  TODO 待删除 没用上
@Data
public class AgentInfoEntity implements Serializable {

    private String hostName;
    private String ip;
    private String ports;
    private String agentId;
    private long startTime;
    private String applicationName;
    private short serviceTypeCode;
    private int pid;
    private String vmVersion;
    private String agentVersion;
    private long endTimeStamp;
    private int endStatus;
    private boolean container;

    private ServerMetaDataEntity serverMetaData;
    private JvmInfoEntity jvmInfo;
}

//服务器元数据 TODO 暂未使用
@Data
class ServerMetaDataEntity implements Serializable {

    private String serverInfo;
    private List<String> vmArgs;
    private List<ServiceInfoEntity> serviceInfos;
}

//虚拟机信息  TODO 暂未使用
@Data
class JvmInfoEntity implements Serializable {
    private byte version;
    private String jvmVersion;
    private String gcTypeName;
}

@Data
class ServiceInfoEntity implements Serializable {
    private String serviceName;
    private List<String> serviceLibs;
}